//   手机号正则
export const RegMobile =
  /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/;

//   邮箱正则
export const RegEmail = /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/;

//  密码正则
export const RegPassword = /^(?=.*\d)(?=.*[a-zA-Z])(?=.*[^\da-zA-Z\s]).{6,}$/;
// export const RegPassword = /^(?=.*[a-zA-Z])(?=.*\d)(?=.*[#@!~%^&*.])[a-zA-Z\d#@!~%^&*.]{6,}$/;

// 网址正则
export const RegLink = /^[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,}$/;

// 日期正则
export const RegDateYYYYMMDD = /\d{4}-\d{2}-\d{2}/;

// 银行卡号正则
export const RegBankID = /^\d{16,19}$/;
